package com.xxxx.mapper;

import com.xxxx.pojo.Emp;
import org.apache.ibatis.annotations.Param;

/**
 * 缓存Mapper
 */
public interface CacheMapper {

    //根据id获取员工信息
    Emp getEmpById(@Param("eid") Integer eid);

    /**
     * 添加员工信息
     * @param emp
     * @return
     */
    Integer insertEmpByEmp(Emp emp);
}
